#ifndef _COMMON_H_
#define _COMMON_H_

#define DEBUG

#ifdef DEBUG
#include "stdio.h"
#endif

#include "windows.h"

#define STRING_LEN_MAX 10
#define LIST_COUNT_MAX 10000

#define IS_NUM(c)	(((c) >= '0') && ((c) <= '9'))
#define IS_CHAR(c)	(((c) >= 'A') && ((c) <= 'Z'))
#define IS_START(c)	((c)=='(')
#define IS_END(c)	((c)==')')

typedef enum {ILL_ITEM, ColorDef, SingleColor, CycleStart, CycleEnd} CItemType;
typedef enum {Empty, Cycle, Color} CNodeType;


#endif